package com.gzcstec.product.rabbitmq.client;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * 消息接收端
 */
public interface MySink {

    final String INPUT = "orderInput";
    final String INPUT_PRODUCT = "productInput";

    @Input(INPUT)
    SubscribableChannel input();

    @Input(INPUT_PRODUCT)
    SubscribableChannel inputProduct();

}
